<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery.min.js"></script>

</head>
<body>
	<h1>跨域测试</h1>
	<input type="button" value="点我" onclick="callTest()" />
	<iframe name="myFrame" id="myFrame"
		src="http://172.16.71.84:8080/OAuthServer/c.html"></iframe>
</body>
<script type="text/javascript">
	$.getJSON('http://example.com/data.php?callback=?,function(jsondata)'){
	    //处理获得的json数据
	});
</script>
</html>